﻿//-----------------------------------------------------------------------
// <copyright file="Group.cs" company="FIT VUT">
//     Copyright (c) FIT VUT. All rights are reserved.
// </copyright>
//----------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Knihotoc_WP8.Misc
{
    public class Group<T> : List<T>
    {
        #region Constructors
        public Group(string name, IEnumerable<T> items)
            : base(items)
        {
            this.Title = name;
        }
        #endregion

        #region Public properties
        /// <summary>
        /// Gets or sets the group's title.
        /// </summary>
        public string Title
        {
            get;
            set;
        }
        #endregion
    }
}
